package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.RefundAdapayRecord;
import com.tbit.uqbike.client.pojo.RefundOrder;

import java.util.List;

/**
 * @author Zhang Zhi Liang
 * @date 2024/4/15 9:47
 */
public interface RefundAdapayRecordDao {
    /**
     * 添加
     * @param refundAdapayRecord
     */
    void insert(RefundAdapayRecord refundAdapayRecord);

    /**
     * 更新退款订单状态
     * @param refundAdapayRecord
     */
    void update(RefundAdapayRecord refundAdapayRecord);

    /**
     * 删除
     * @param refundNOs
     */
    void delete(List<String> refundNOs);

    /**
     * 根据退款对象id获取
     * @param refundNO
     * @return
     */
    RefundAdapayRecord getByRefundNO(String refundNO);
}
